home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-08-06 | 1.9 KB | 75 lines |
- # Makefile for SNews ver. 1.91
- # by Daniel Fandrich
-
- CC = c:\tc\tcc
- LINK = c:\tc\tlink
-
- # Source options available are:
- # INCLUDE_SIG Include the signature in outgoing mail (normally
- # handled by the mail program)
- # ALTPAGING Alternate method of handling PgDn/PgUp during article
- # reading -- fills the screen at the end of the article
- # but is hard to follow when reading
- # AMATCH Search text using regular expressions (amatch routine)
- # -- default is simple case insensitive search
- #OPTIONS = -DINCLUDE_SIG -DALTPAGING
- CFLAGS = -c -v -w -mc -O -Ic:\tc\include $(OPTIONS)
- STARTUP = c:\tc\lib\c0c
- LIB = c:\tc\lib\cc
-
-
- # Executables to make
-
- all: snews.exe unbatch.exe expire.exe addgroup.exe rmgroup.exe
-
-
- # Implicit compile
-
- .c.obj:
- $(CC) $(CFLAGS) $<
-
-
- # Link executables
-
- snews.exe: snews.obj article.obj post.obj active.obj history.obj pccharst.obj getopt.obj
- $(LINK) $(STARTUP) snews article post active history pccharst getopt,snews/c/x,,$(LIB)
-
- unbatch.exe: unbatch.obj active.obj history.obj
- $(LINK) $(STARTUP) unbatch active history,unbatch/c/x,,$(LIB)
-
- expire.exe: expire.obj active.obj amatch.obj
- $(LINK) $(STARTUP) expire active amatch,expire/c/x,,$(LIB)
-
- addgroup.exe: addgroup.obj active.obj
- $(LINK) $(STARTUP) addgroup active,addgroup/c/x,,$(LIB)
-
- rmgroup.exe: rmgroup.obj active.obj
- $(LINK) $(STARTUP) rmgroup active,rmgroup/c/x,,$(LIB)
-
-
- # Object dependencies
-
- snews.obj: snews.c defs.h snews.h pccharst.h getopt.h
-
- article.obj: article.c defs.h snews.h pccharst.h
-
- post.obj: post.c defs.h snews.h
-
- active.obj: active.c defs.h
-
- history.obj: history.c defs.h history.h
-
- pccharst.obj: pccharst.c pccharst.h defs.h
-
- unbatch.obj: unbatch.c unbatch.h defs.h
-
- expire.obj: expire.c expire.h defs.h
-
- amatch.obj: amatch.c
-
- addgroup.obj: addgroup.c defs.h getopt.h
-
- rmgroup.obj: rmgroup.c defs.h
-
- getopt.obj: getopt.c getopt.h
-